package com.hoas.quickstart.threads.chapter04.chapter04_1_2;

public class ThreadA  extends Thread {

    private MyService service;

    public ThreadA(MyService service) {
        this.service = service;
    }

    @Override
    public void run() {
        service.methodA();
    }
}
